<template>
	<view class="column">
		<u-checkbox-group v-model="selectValue" @change="checkboxChange">
			<u-checkbox label="打印提货单"  :name="11">
			</u-checkbox>
			 <!-- <u-checkbox :label="{ value: 1, label: '' }" label-name="" label-value="value" :name="1"></u-checkbox> -->
		</u-checkbox-group>
	</view>
</template>
<script setup>
	import {
		ref,
		reactive
	} from 'vue';
	import { onLoad,  } from '@dcloudio/uni-app';
	onLoad((options)=>{
		if(options.orderList){
			const orderList = JSON.parse(options.orderList);
			console.log('接收',orderList)
		}
	})
	const selectValue = ref([]);

	// 基本案列数据
	const checkboxList1 = reactive([{
		orderNo: '1'
	}, {
		orderNo: '2'
	}, {
		orderNo: '3'
	}, ]);

	const checkboxChange = (e) => {
		console.log('change', e, selectValue.value);
	};
</script>
<style lang="scss" scoped>
	.column {
		display: flex;
		flex-direction: column;
	}

	.row {
		width: 200px;
		background-color: #909090;
		display: inline-flex;
		flex-direction: row;
	}
</style>